Textile Math